package com.google.shop.product.vo.card;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Arrays;
//import org.apache.commons.configuration.tree.DefaultExpressionEngine;

/* loaded from: app.jar:BOOT-INF/classes/com/google/shop/product/vo/card/CardVO.class */
public class CardVO {
    @JsonProperty("icon")
    private String cardSkuImage;
    @JsonProperty("spuName")
    private String cardSpuTitle;
    @JsonProperty("skuTag")
    private String[] cardSkuTag;
    @JsonProperty("price")
    private String cardSkuPrice;
    @JsonProperty("num")
    private Integer cardSkuNum;
    @JsonProperty("freight")
    private Integer cardSkuFreight;
    @JsonProperty("isOpt")
    private Integer cardSkuIsopt;
    @JsonProperty("amount")
    private Integer cardSkuAmount;
    @JsonProperty("skuId")
    private Integer cardSkuId;
    @JsonProperty("spuId")
    private Integer cardSpuId;
    private String token;

    @JsonProperty("icon")
    public void setCardSkuImage(String cardSkuImage) {
        this.cardSkuImage = cardSkuImage;
    }

    @JsonProperty("spuName")
    public void setCardSpuTitle(String cardSpuTitle) {
        this.cardSpuTitle = cardSpuTitle;
    }

    @JsonProperty("skuTag")
    public void setCardSkuTag(String[] cardSkuTag) {
        this.cardSkuTag = cardSkuTag;
    }

    @JsonProperty("price")
    public void setCardSkuPrice(String cardSkuPrice) {
        this.cardSkuPrice = cardSkuPrice;
    }

    @JsonProperty("num")
    public void setCardSkuNum(Integer cardSkuNum) {
        this.cardSkuNum = cardSkuNum;
    }

    @JsonProperty("freight")
    public void setCardSkuFreight(Integer cardSkuFreight) {
        this.cardSkuFreight = cardSkuFreight;
    }

    @JsonProperty("isOpt")
    public void setCardSkuIsopt(Integer cardSkuIsopt) {
        this.cardSkuIsopt = cardSkuIsopt;
    }

    @JsonProperty("amount")
    public void setCardSkuAmount(Integer cardSkuAmount) {
        this.cardSkuAmount = cardSkuAmount;
    }

    @JsonProperty("skuId")
    public void setCardSkuId(Integer cardSkuId) {
        this.cardSkuId = cardSkuId;
    }

    @JsonProperty("spuId")
    public void setCardSpuId(Integer cardSpuId) {
        this.cardSpuId = cardSpuId;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof CardVO)) {
            return false;
        }
        CardVO other = (CardVO) o;
        if (!other.canEqual(this)) {
            return false;
        }
        Object this$cardSkuNum = getCardSkuNum();
        Object other$cardSkuNum = other.getCardSkuNum();
        if (this$cardSkuNum == null) {
            if (other$cardSkuNum != null) {
                return false;
            }
        } else if (!this$cardSkuNum.equals(other$cardSkuNum)) {
            return false;
        }
        Object this$cardSkuFreight = getCardSkuFreight();
        Object other$cardSkuFreight = other.getCardSkuFreight();
        if (this$cardSkuFreight == null) {
            if (other$cardSkuFreight != null) {
                return false;
            }
        } else if (!this$cardSkuFreight.equals(other$cardSkuFreight)) {
            return false;
        }
        Object this$cardSkuIsopt = getCardSkuIsopt();
        Object other$cardSkuIsopt = other.getCardSkuIsopt();
        if (this$cardSkuIsopt == null) {
            if (other$cardSkuIsopt != null) {
                return false;
            }
        } else if (!this$cardSkuIsopt.equals(other$cardSkuIsopt)) {
            return false;
        }
        Object this$cardSkuAmount = getCardSkuAmount();
        Object other$cardSkuAmount = other.getCardSkuAmount();
        if (this$cardSkuAmount == null) {
            if (other$cardSkuAmount != null) {
                return false;
            }
        } else if (!this$cardSkuAmount.equals(other$cardSkuAmount)) {
            return false;
        }
        Object this$cardSkuId = getCardSkuId();
        Object other$cardSkuId = other.getCardSkuId();
        if (this$cardSkuId == null) {
            if (other$cardSkuId != null) {
                return false;
            }
        } else if (!this$cardSkuId.equals(other$cardSkuId)) {
            return false;
        }
        Object this$cardSpuId = getCardSpuId();
        Object other$cardSpuId = other.getCardSpuId();
        if (this$cardSpuId == null) {
            if (other$cardSpuId != null) {
                return false;
            }
        } else if (!this$cardSpuId.equals(other$cardSpuId)) {
            return false;
        }
        Object this$cardSkuImage = getCardSkuImage();
        Object other$cardSkuImage = other.getCardSkuImage();
        if (this$cardSkuImage == null) {
            if (other$cardSkuImage != null) {
                return false;
            }
        } else if (!this$cardSkuImage.equals(other$cardSkuImage)) {
            return false;
        }
        Object this$cardSpuTitle = getCardSpuTitle();
        Object other$cardSpuTitle = other.getCardSpuTitle();
        if (this$cardSpuTitle == null) {
            if (other$cardSpuTitle != null) {
                return false;
            }
        } else if (!this$cardSpuTitle.equals(other$cardSpuTitle)) {
            return false;
        }
        if (!Arrays.deepEquals(getCardSkuTag(), other.getCardSkuTag())) {
            return false;
        }
        Object this$cardSkuPrice = getCardSkuPrice();
        Object other$cardSkuPrice = other.getCardSkuPrice();
        if (this$cardSkuPrice == null) {
            if (other$cardSkuPrice != null) {
                return false;
            }
        } else if (!this$cardSkuPrice.equals(other$cardSkuPrice)) {
            return false;
        }
        Object this$token = getToken();
        Object other$token = other.getToken();
        return this$token == null ? other$token == null : this$token.equals(other$token);
    }

    protected boolean canEqual(Object other) {
        return other instanceof CardVO;
    }

    public int hashCode() {
        Object $cardSkuNum = getCardSkuNum();
        int result = (1 * 59) + ($cardSkuNum == null ? 43 : $cardSkuNum.hashCode());
        Object $cardSkuFreight = getCardSkuFreight();
        int result2 = (result * 59) + ($cardSkuFreight == null ? 43 : $cardSkuFreight.hashCode());
        Object $cardSkuIsopt = getCardSkuIsopt();
        int result3 = (result2 * 59) + ($cardSkuIsopt == null ? 43 : $cardSkuIsopt.hashCode());
        Object $cardSkuAmount = getCardSkuAmount();
        int result4 = (result3 * 59) + ($cardSkuAmount == null ? 43 : $cardSkuAmount.hashCode());
        Object $cardSkuId = getCardSkuId();
        int result5 = (result4 * 59) + ($cardSkuId == null ? 43 : $cardSkuId.hashCode());
        Object $cardSpuId = getCardSpuId();
        int result6 = (result5 * 59) + ($cardSpuId == null ? 43 : $cardSpuId.hashCode());
        Object $cardSkuImage = getCardSkuImage();
        int result7 = (result6 * 59) + ($cardSkuImage == null ? 43 : $cardSkuImage.hashCode());
        Object $cardSpuTitle = getCardSpuTitle();
        int result8 = (((result7 * 59) + ($cardSpuTitle == null ? 43 : $cardSpuTitle.hashCode())) * 59) + Arrays.deepHashCode(getCardSkuTag());
        Object $cardSkuPrice = getCardSkuPrice();
        int result9 = (result8 * 59) + ($cardSkuPrice == null ? 43 : $cardSkuPrice.hashCode());
        Object $token = getToken();
        return (result9 * 59) + ($token == null ? 43 : $token.hashCode());
    }

//    public String toString() {
//        return "CardVO(cardSkuImage=" + getCardSkuImage() + ", cardSpuTitle=" + getCardSpuTitle() + ", cardSkuTag=" + Arrays.deepToString(getCardSkuTag()) + ", cardSkuPrice=" + getCardSkuPrice() + ", cardSkuNum=" + getCardSkuNum() + ", cardSkuFreight=" + getCardSkuFreight() + ", cardSkuIsopt=" + getCardSkuIsopt() + ", cardSkuAmount=" + getCardSkuAmount() + ", cardSkuId=" + getCardSkuId() + ", cardSpuId=" + getCardSpuId() + ", token=" + getToken() + DefaultExpressionEngine.DEFAULT_INDEX_END;
//    }

    public CardVO(String cardSkuImage, String cardSpuTitle, String[] cardSkuTag, String cardSkuPrice, Integer cardSkuNum, Integer cardSkuFreight, Integer cardSkuIsopt, Integer cardSkuAmount, Integer cardSkuId, Integer cardSpuId, String token) {
        this.cardSkuImage = cardSkuImage;
        this.cardSpuTitle = cardSpuTitle;
        this.cardSkuTag = cardSkuTag;
        this.cardSkuPrice = cardSkuPrice;
        this.cardSkuNum = cardSkuNum;
        this.cardSkuFreight = cardSkuFreight;
        this.cardSkuIsopt = cardSkuIsopt;
        this.cardSkuAmount = cardSkuAmount;
        this.cardSkuId = cardSkuId;
        this.cardSpuId = cardSpuId;
        this.token = token;
    }

    public CardVO() {
    }

    public String getCardSkuImage() {
        return this.cardSkuImage;
    }

    public String getCardSpuTitle() {
        return this.cardSpuTitle;
    }

    public String[] getCardSkuTag() {
        return this.cardSkuTag;
    }

    public String getCardSkuPrice() {
        return this.cardSkuPrice;
    }

    public Integer getCardSkuNum() {
        return this.cardSkuNum;
    }

    public Integer getCardSkuFreight() {
        return this.cardSkuFreight;
    }

    public Integer getCardSkuIsopt() {
        return this.cardSkuIsopt;
    }

    public Integer getCardSkuAmount() {
        return this.cardSkuAmount;
    }

    public Integer getCardSkuId() {
        return this.cardSkuId;
    }

    public Integer getCardSpuId() {
        return this.cardSpuId;
    }

    public String getToken() {
        return this.token;
    }
}
